<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>Title</title>
</head>
<body>
<div class="category_list" th:fragment="menu">
    <!-- 全部商品 -->
    <a class="all_goods_sort" href="" target="_blank">
        <h3 class="all">所有商品分类</h3>
    </a>
    <!-- 全部商品 -->
    <!-- 分类列表-详情 -->
    <ul class="cat_list none">
        <li>
            <!-- 分类列表-导航模块 -->
            <div class="cat_nav" th:each="big:${application.bigs}">
                <h2 th:text="${big.getEpcName()}">家用电器</h2>
                <span th:each="small:${application.smalls}">
                <a th:href="@{/product/list(categoryId=${small.epcId})}"
                   th:if="${big.getEpcId()==small.getEpcParentId()}"
                   th:text="${small.getEpcName()}">大家电</a>
                </span>
                <i class="fa fa-angle-right"></i>
            </div>
        </li>
    </ul>
</div>

</body>
</html>
